@import "../../base/index";
html,
body {
  height: 100%;
}

body {
  min-width: 1200px;
  font-family: MicrosoftYaHei;
}

body a:hover {
  cursor: pointer;
  text-decoration: none;
}

// 中间具体内容
.content {
  width: 100%;
  background: white;
  margin-top: 20px;
  .goodsCont {
    display: flex;
    width: 1200px;
    margin: auto;
    justify-content: space-between; // 左边
    .left {
      width: 260px;
      height: 930px;
      .title {
        p {
          font-size: 15px;
          margin-bottom: 15px;
          border-bottom: 1px solid #eee;
          height: 38px;
          line-height: 38px;
          color: #666;
        }
      }
      img {
        width: 100%;
        height: 230px;
      }
      .item {
        height: 260px;
        width: 100%;
        border: 1px solid #eee;
        margin-bottom: 15px;
        position: relative;
        cursor: pointer;
        .name {
          position: absolute;
          left: 0;
          bottom: 40px;
          width: 100%;
          padding: 5px 10px;
          line-height: 18px;
          overflow: hidden;
          max-height: 40px;
          background: rgba(255, 255, 255, .7);
          color: #666;
          font-size: 14px;
          display: none;
          a:hover {
            color: #0D84D4;
          }
        }
        .price {
          height: 18px;
          padding: 5px 10px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .color {
            color: #ff0036;
            font-weight: 400;
          }
          .how {
            color: #999;
            font-size: 12px;
          }
        }
      }
    } // 右边
    .right {
      width: 920px;
      margin-left: 20px;
      background: white;
      height: 930px;
      position: relative;
      .title {
        width: 100%;
        height: 38px;
        background-color: #f9f9f9;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        div {
          padding: 0 18px;
          height: 100%;
          display: flex;
          align-items: center;
          font-size: 14px;
          color: #666;
          cursor: pointer;
          .icon {
            font-size: 25px;
          }
          &.active {
            background: white;
            color: #0689e1;
            border-right: 1px solid #eee;
          }
          &:hover {
            background: white;
            color: #0689e1;
            border-right: 1px solid #eee;
            border-left: 1px solid #eee;
          }
        }
      }
      .choose {
        height: 38px;
        background: white;
        display: flex;
        justify-content: space-between;
        border: 1px solid #eee;
        border-top: none;
        .chooseLeft {
          display: flex;
          align-items: center;
          font-size: 12px;
          font-size: 14px;
          color: #666;
          padding-left: 18px;
          input {
            margin: 0 15px;
          }
        }
        .chooseRight {
          display: flex;
          align-items: center;
          font-size: 12px;
          font-size: 14px;
          color: #666;
          .icon {
            display: inline-block;
            width: 38px;
            height: 38px;
            border: 1px solid #eee;
            text-align: center;
            line-height: 38px;
            cursor: pointer;
            &:hover {
              background: white;
              color: #0689e1;
            }
          }
        }
      }
      // 大图模式
      .rightCont {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
        .items {
          width: 220px;
          height: 342px;
          border: 1px solid #eee;
          padding: 5px 4px;
          img {
            height: 225px;
            width: 100%;
          }
          .price {
            font-size: 20px;
            font-weight: 400;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 70px;
            overflow: hidden;
            color: #ff0036;
          }
          a{
            line-height: 20px;
            color: #999;
            height: 40px;
            display: block;
            overflow: hidden;
            margin: 5px 0;
            font-size: 12px;
          }
          .join{
            float: left;
            width: 100px;
            text-align: center;
            background: #0689e1;
            color: #fff;
            height: 30px;
            border-radius: 2px;
            line-height: 30px;
            opacity: 0.8;
            font-size: 12px;
          }
          .shoucang{
            float: left;
            overflow: hidden;
            height: 30px;
            line-height: 28px;
            border-radius: 2px;
            padding: 0 5px;
            border: 1px solid #b9b9b9;
            font-size: 12px;
            margin-left: 10px;
          }
        }
      }
      // <!-- 列表模式 -->
      .contList{
        margin-top: 15px;
        padding: 0 10px 0 20px;
        .items{
          height: 74px;
          display: flex;
          flex-direction: row;
          align-items: center;
          img{
            width: 50px;
            height: 50px;
            border: 1px solid #eee;
          }
          .name{
            font-size: 12px;    
            width: 320px;
            height: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-left: 40px;
          }
          .price{
            margin-left: 60px;
            p{
              font-size: 12px;
              line-height: 20px;
            }
          }
          .caozuo{
            margin-left: 120px;
            font-size: 12px;
            .shou{
              display: inline-block;
              height: 25px;
              line-height: 25px;
              margin-left: 15px;
              padding: 0 16px;
              color: #fff;
              text-align: center;
              background: #ff9149;
            }
            .jia{
              display: inline-block;
              height: 25px;
              line-height: 25px;
              margin-left: 15px;
              padding: 0 16px;
              color: #fff;
              text-align: center;
              background: #0689e1;
            }
          }
        }
          
      }
       // 页码区
  .changepage{
    position: absolute;
    font-size: 0px;
    line-height: 20px;
    left: 60px;
    bottom:45px;
    a{
      font-family: MicrosoftYaHei;
      font-size: 12px;
      color: #999999;
      float: left;
      margin-right: 20px;
      &:last-child{
        margin-right: 0px
      }
    }
    ul{
      float: left;
      margin-right: 20px;
      li.active a{
        width: 20px;
        height: 20px;
        background-color: #0398e5;
        border-radius: 4px;
        color: #fff;
        text-align: center;
      }
    }
  }
    }
  }
  .like{
    width: 1200px;
    height: 430px;
    margin: auto;
    margin-top: 20px;
    .top{
      height: 40px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .nav{
        span{
          font-size: 14px;
          padding-left: 20px;
          cursor: pointer;
          &.active{
            color: #0689e1;
          }
        }
      }
      .clear{
        display: none;
      }
    }
    .all{
      width: 1200px;
      height: 320px;
      overflow-x: scroll;
      border: 1px solid #eee;
      border-top: none;
      padding:20px; 
      display: flex;
      .likeItems{
        width: 180px;
        border: 1px solid #eee;
        padding: 6px;
        margin-right: 10px;
        // display: inline-block;
        flex: 0 0 180px;
        img{
          width: 173px;
          height: 173px;
        }
        .name{
          line-height: 20px;
          height: 40px;
          overflow: hidden;
          font-size: 12px;
        }
        .price{
          font-size: 18px;
          font-weight: 400;
          color: #FF0036;
          margin-top: 8px;
        }
      }
    }
  }
}